package com.taskmanagement.mapper;

import com.taskmanagement.entity.Review;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigInteger;

@Mapper
public interface ReviewMapper {

    Review findByTaskId(BigInteger taskId);

    Review findById(BigInteger id);

    int insert(Review review);

    int update(Review review);

    int delete(BigInteger id);
}
